import os
# Scrapy settings for query_news_info project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
#     http://doc.scrapy.org/en/latest/topics/settings.html
#

BOT_NAME = 'query_news_info'

SPIDER_MODULES = ['query_news_info.spiders']
NEWSPIDER_MODULE = 'query_news_info.spiders'

LOG_LEVEL = 'INFO'

ITEM_PIPELINES = {
    'query_news_info.pipelines.QueryNewsInfoPipeline': 800,
}

USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36'

DB_CONF = {
    "host": "115.28.221.182",
    "user": "lixiang",
    "password": "freelance",
    "database": "stat",
}
# Crawl responsibly by identifying yourself (and your website) on the user-agent
#USER_AGENT = 'query_news_info (+http://www.yourdomain.com)'
